home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1996-02-19 | 4.8 KB | [TEXT/CWIE] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Feb 19 22:22:11 1996, modified Mon Feb 19 22:22:11 1996, creator 'CWIE', type ASCII, 3969 bytes "Debug.h" , at 0x1001 616 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [CWIE] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 44 65 62 75 67 2e | 68 00 00 00 00 00 00 00 |..Debug.|h.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 0f 81 00 | 00 02 68 ad 4e ee e3 ad |........|..h.N...|
|00000060| 4e ee e3 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |N.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 fd 8f 00 00 |........|........|
|00000080| 2f 2a 0d 09 46 69 6c 65 | 3a 09 09 44 65 62 75 67 |/*..File|:..Debug|
|00000090| 2e 68 0d 0d 09 43 6f 6e | 74 61 69 6e 73 3a 09 53 |.h...Con|tains:.S|
|000000a0| 69 6d 70 6c 65 20 64 65 | 62 75 67 20 6d 61 63 72 |imple de|bug macr|
|000000b0| 6f 73 20 66 6f 72 20 75 | 73 65 20 77 69 74 68 20 |os for u|se with |
|000000c0| 64 65 62 75 67 20 77 69 | 6e 64 6f 77 2e 0d 0d 09 |debug wi|ndow....|
|000000d0| 55 73 61 67 65 3a 0d 09 | 09 09 09 59 6f 75 20 6e |Usage:..|...You n|
|000000e0| 65 65 64 20 65 78 74 72 | 61 20 70 61 72 65 6e 74 |eed extr|a parent|
|000000f0| 68 65 73 65 73 20 73 69 | 6e 63 65 20 74 68 69 73 |heses si|nce this|
|00000100| 20 69 73 20 64 6f 6e 65 | 20 77 69 74 68 20 74 68 | is done| with th|
|00000110| 65 20 70 72 65 70 72 6f | 63 65 73 73 6f 72 0d 09 |e prepro|cessor..|
|00000120| 09 09 09 20 65 2e 67 2e | 20 50 52 49 4e 54 28 28 |... e.g.| PRINT((|
|00000130| 22 68 65 6c 6c 6f 20 77 | 6f 72 6c 64 2e 2e 2e 22 |"hello w|orld..."|
|00000140| 29 29 0d 0d 09 57 72 69 | 74 74 65 6e 20 62 79 3a |))...Wri|tten by:|
|00000150| 09 42 72 75 63 65 20 48 | 6f 72 6e 2c 20 53 74 65 |.Bruce H|orn, Ste|
|00000160| 76 65 20 43 61 70 70 73 | 2c 20 4c 61 72 72 79 20 |ve Capps|, Larry |
|00000170| 4b 65 6e 79 6f 6e 2c 0d | 09 09 09 09 4a 6f 68 6e |Kenyon,.|....John|
|00000180| 20 4d 65 69 65 72 2c 20 | 73 63 6f 74 74 20 64 6f | Meier, |scott do|
|00000190| 75 67 6c 61 73 73 2c 20 | 44 61 72 69 6e 20 41 64 |uglass, |Darin Ad|
|000001a0| 6c 65 72 2c 0d 09 09 09 | 09 50 61 75 6c 20 4d 65 |ler,....|.Paul Me|
|000001b0| 72 63 65 72 2c 20 42 72 | 79 61 6e 20 53 74 65 61 |rcer, Br|yan Stea|
|000001c0| 72 6e 73 2c 20 44 61 76 | 65 20 4f 77 65 6e 73 2c |rns, Dav|e Owens,|
|000001d0| 0d 09 09 09 09 4a 65 66 | 66 20 4d 69 6c 6c 65 72 |.....Jef|f Miller|
|000001e0| 0d 0d 09 43 6f 70 79 72 | 69 67 68 74 3a 09 a9 20 |...Copyr|ight:.. |
|000001f0| 31 39 38 38 2d 31 39 39 | 30 2c 20 31 39 39 33 2d |1988-199|0, 1993-|
|00000200| 31 39 39 34 20 62 79 20 | 41 70 70 6c 65 20 43 6f |1994 by |Apple Co|
|00000210| 6d 70 75 74 65 72 2c 20 | 49 6e 63 2e 2c 20 61 6c |mputer, |Inc., al|
|00000220| 6c 20 72 69 67 68 74 73 | 20 72 65 73 65 72 76 65 |l rights| reserve|
|00000230| 64 2e 0d 0d 09 09 09 09 | 20 32 2f 32 33 2f 39 35 |d.......| 2/23/95|
|00000240| 09 67 61 09 09 0d 09 09 | 3c 31 31 3e 09 31 30 2f |.ga.....|<11>.10/|
|00000250| 31 33 2f 39 34 09 67 61 | 09 09 0d 2a 2f 0d 0d 23 |13/94.ga|...*/..#|
|00000260| 69 66 6e 64 65 66 20 44 | 65 62 75 67 5f 68 0d 23 |ifndef D|ebug_h.#|
|00000270| 64 65 66 69 6e 65 20 44 | 65 62 75 67 5f 68 0d 0d |define D|ebug_h..|
|00000280| 2f 2f 0d 2f 2f 20 49 74 | 20 77 6f 75 6c 64 20 62 |//.// It| would b|
|00000290| 65 20 62 65 74 74 65 72 | 20 74 6f 20 73 65 74 20 |e better| to set |
|000002a0| 74 68 69 73 20 69 6e 20 | 73 6f 6d 65 20 73 6f 72 |this in |some sor|
|000002b0| 74 20 6f 66 0d 2f 2f 20 | 62 75 69 6c 64 2d 63 6f |t of.// |build-co|
|000002c0| 6e 66 69 67 75 72 61 74 | 69 6f 6e 20 66 69 6c 65 |nfigurat|ion file|
|000002d0| 2c 20 62 75 74 20 4d 57 | 20 64 6f 65 73 6e 27 74 |, but MW| doesn't|
|000002e0| 20 63 6f 6e 76 65 6e 69 | 65 6e 74 6c 79 0d 2f 2f | conveni|ently.//|
|000002f0| 20 73 75 70 70 6f 72 74 | 20 74 68 61 74 20 61 74 | support| that at|
|00000300| 20 74 68 65 20 6d 6f 6d | 65 6e 74 2e 0d 2f 2f 0d | the mom|ent..//.|
|00000310| 23 64 65 66 69 6e 65 20 | 44 45 42 55 47 20 31 0d |#define |DEBUG 1.|
|00000320| 0d 0d 23 69 6e 63 6c 75 | 64 65 20 3c 54 79 70 65 |..#inclu|de <Type|
|00000330| 73 2e 68 3e 0d 0d 2f 2f | 20 61 63 74 75 61 6c 20 |s.h>..//| actual |
|00000340| 64 65 62 75 67 20 66 75 | 6e 63 74 69 6f 6e 73 20 |debug fu|nctions |
|00000350| 61 6e 64 20 6d 61 63 72 | 6f 73 0d 0d 65 78 74 65 |and macr|os..exte|
|00000360| 72 6e 20 76 6f 69 64 20 | 64 62 67 41 73 73 65 72 |rn void |dbgAsser|
|00000370| 74 50 72 69 6e 74 28 63 | 6f 6e 73 74 20 63 68 61 |tPrint(c|onst cha|
|00000380| 72 2a 2c 20 2e 2e 2e 29 | 3b 0d 65 78 74 65 72 6e |r*, ...)|;.extern|
|00000390| 20 76 6f 69 64 20 64 62 | 67 41 73 73 65 72 74 28 | void db|gAssert(|
|000003a0| 63 6f 6e 73 74 20 63 68 | 61 72 2a 20 66 69 6c 65 |const ch|ar* file|
|000003b0| 6e 61 6d 65 2c 20 53 49 | 6e 74 33 32 20 6c 69 6e |name, SI|nt32 lin|
|000003c0| 65 29 3b 0d 65 78 74 65 | 72 6e 20 76 6f 69 64 20 |e);.exte|rn void |
|000003d0| 64 62 67 47 75 61 72 64 | 28 63 6f 6e 73 74 20 63 |dbgGuard|(const c|
|000003e0| 68 61 72 2a 20 66 69 6c | 65 6e 61 6d 65 2c 20 53 |har* fil|ename, S|
|000003f0| 49 6e 74 33 32 20 6c 69 | 6e 65 29 3b 0d 65 78 74 |Int32 li|ne);.ext|
|00000400| 65 72 6e 20 76 6f 69 64 | 20 64 62 67 49 6e 76 61 |ern void| dbgInva|
|00000410| 6c 69 64 50 6f 69 6e 74 | 65 72 28 63 6f 6e 73 74 |lidPoint|er(const|
|00000420| 20 76 6f 69 64 2a 20 70 | 6f 69 6e 74 65 72 2c 20 | void* p|ointer, |
|00000430| 63 6f 6e 73 74 20 63 68 | 61 72 2a 20 66 69 6c 65 |const ch|ar* file|
|00000440| 6e 61 6d 65 2c 20 53 49 | 6e 74 33 32 20 6c 69 6e |name, SI|nt32 lin|
|00000450| 65 29 3b 0d 65 78 74 65 | 72 6e 20 76 6f 69 64 20 |e);.exte|rn void |
|00000460| 64 62 67 49 6e 76 61 6c | 69 64 48 61 6e 64 6c 65 |dbgInval|idHandle|
|00000470| 28 63 6f 6e 73 74 20 76 | 6f 69 64 2a 2a 20 68 61 |(const v|oid** ha|
|00000480| 6e 64 6c 65 2c 20 63 6f | 6e 73 74 20 63 68 61 72 |ndle, co|nst char|
|00000490| 2a 20 66 69 6c 65 6e 61 | 6d 65 2c 20 53 49 6e 74 |* filena|me, SInt|
|000004a0| 33 32 20 6c 69 6e 65 29 | 3b 0d 0d 0d 23 69 66 64 |32 line)|;...#ifd|
|000004b0| 65 66 20 44 45 42 55 47 | 0d 0d 23 64 65 66 69 6e |ef DEBUG|..#defin|
|000004c0| 65 20 49 4e 4c 49 4e 45 | 41 53 53 45 52 54 28 77 |e INLINE|ASSERT(w|
|000004d0| 68 61 74 29 20 09 09 09 | 09 7b 20 69 66 20 28 21 |hat) ...|.{ if (!|
|000004e0| 28 77 68 61 74 29 29 20 | 44 65 62 75 67 67 65 72 |(what)) |Debugger|
|000004f0| 28 29 3b 20 7d 0d 0d 23 | 64 65 66 69 6e 65 20 49 |(); }..#|define I|
|00000500| 4e 49 54 49 41 4c 49 5a | 45 44 45 42 55 47 28 29 |NITIALIZ|EDEBUG()|
|00000510| 0d 23 64 65 66 69 6e 65 | 20 54 45 52 4d 49 4e 41 |.#define| TERMINA|
|00000520| 54 45 44 45 42 55 47 28 | 29 0d 23 64 65 66 69 6e |TEDEBUG(|).#defin|
|00000530| 65 20 44 45 42 55 47 45 | 56 45 4e 54 28 65 76 65 |e DEBUGE|VENT(eve|
|00000540| 6e 74 29 0d 0d 23 64 65 | 66 69 6e 65 20 42 4c 4f |nt)..#de|fine BLO|
|00000550| 43 4b 50 52 49 4e 54 28 | 61 72 67 73 29 09 09 09 |CKPRINT(|args)...|
|00000560| 09 7b 20 64 62 67 41 73 | 73 65 72 74 50 72 69 6e |.{ dbgAs|sertPrin|
|00000570| 74 20 61 72 67 73 3b 20 | 7d 0d 23 64 65 66 69 6e |t args; |}.#defin|
|00000580| 65 20 50 52 49 4e 54 28 | 61 72 67 73 29 09 09 09 |e PRINT(|args)...|
|00000590| 09 09 09 64 6f 20 42 4c | 4f 43 4b 50 52 49 4e 54 |...do BL|OCKPRINT|
|000005a0| 28 61 72 67 73 29 20 77 | 68 69 6c 65 20 28 30 29 |(args) w|hile (0)|
|000005b0| 0d 23 64 65 66 69 6e 65 | 20 43 41 50 53 50 52 49 |.#define| CAPSPRI|
|000005c0| 4e 54 28 61 72 67 73 29 | 09 09 09 09 09 41 53 53 |NT(args)|.....ASS|
|000005d0| 45 52 54 50 52 49 4e 54 | 28 21 43 61 70 73 4c 6f |ERTPRINT|(!CapsLo|
|000005e0| 63 6b 43 75 72 72 65 6e | 74 6c 79 44 6f 77 6e 28 |ckCurren|tlyDown(|
|000005f0| 29 2c 20 61 72 67 73 29 | 0d 0d 23 64 65 66 69 6e |), args)|..#defin|
|00000600| 65 20 42 4c 4f 43 4b 50 | 52 49 4e 54 4e 4f 54 28 |e BLOCKP|RINTNOT(|
|00000610| 77 68 61 74 2c 20 61 72 | 67 73 29 09 09 7b 20 69 |what, ar|gs)..{ i|
|00000620| 66 20 28 77 68 61 74 29 | 20 7b 20 64 62 67 41 73 |f (what)| { dbgAs|
|00000630| 73 65 72 74 50 72 69 6e | 74 20 61 72 67 73 3b 20 |sertPrin|t args; |
|00000640| 7d 20 7d 0d 23 64 65 66 | 69 6e 65 20 50 52 49 4e |} }.#def|ine PRIN|
|00000650| 54 4e 4f 54 28 77 68 61 | 74 2c 20 61 72 67 73 29 |TNOT(wha|t, args)|
|00000660| 09 09 09 64 6f 20 42 4c | 4f 43 4b 50 52 49 4e 54 |...do BL|OCKPRINT|
|00000670| 4e 4f 54 28 77 68 61 74 | 2c 20 61 72 67 73 29 20 |NOT(what|, args) |
|00000680| 77 68 69 6c 65 20 28 30 | 29 0d 23 64 65 66 69 6e |while (0|).#defin|
|00000690| 65 20 43 41 50 53 50 52 | 49 4e 54 4e 4f 54 28 77 |e CAPSPR|INTNOT(w|
|000006a0| 68 61 74 2c 20 61 72 67 | 73 29 09 09 41 53 53 45 |hat, arg|s)..ASSE|
|000006b0| 52 54 50 52 49 4e 54 28 | 28 28 21 43 61 70 73 4c |RTPRINT(|((!CapsL|
|000006c0| 6f 63 6b 43 75 72 72 65 | 6e 74 6c 79 44 6f 77 6e |ockCurre|ntlyDown|
|000006d0| 28 29 29 20 26 26 20 28 | 77 68 61 74 29 29 2c 20 |()) && (|what)), |
|000006e0| 61 72 67 73 29 0d 0d 23 | 64 65 66 69 6e 65 20 42 |args)..#|define B|
|000006f0| 4c 4f 43 4b 41 53 53 45 | 52 54 50 52 49 4e 54 28 |LOCKASSE|RTPRINT(|
|00000700| 77 68 61 74 2c 20 61 72 | 67 73 29 09 7b 20 69 66 |what, ar|gs).{ if|
|00000710| 20 28 21 28 77 68 61 74 | 29 29 20 7b 20 64 62 67 | (!(what|)) { dbg|
|00000720| 41 73 73 65 72 74 50 72 | 69 6e 74 20 61 72 67 73 |AssertPr|int args|
|00000730| 3b 20 7d 20 7d 0d 23 64 | 65 66 69 6e 65 20 41 53 |; } }.#d|efine AS|
|00000740| 53 45 52 54 50 52 49 4e | 54 28 77 68 61 74 2c 20 |SERTPRIN|T(what, |
|00000750| 61 72 67 73 29 09 09 09 | 64 6f 20 42 4c 4f 43 4b |args)...|do BLOCK|
|00000760| 41 53 53 45 52 54 50 52 | 49 4e 54 28 77 68 61 74 |ASSERTPR|INT(what|
|00000770| 2c 20 61 72 67 73 29 20 | 77 68 69 6c 65 20 28 30 |, args) |while (0|
|00000780| 29 0d 23 64 65 66 69 6e | 65 20 43 41 50 53 41 53 |).#defin|e CAPSAS|
|00000790| 53 45 52 54 50 52 49 4e | 54 28 77 68 61 74 2c 20 |SERTPRIN|T(what, |
|000007a0| 61 72 67 73 29 09 09 41 | 53 53 45 52 54 50 52 49 |args)..A|SSERTPRI|
|000007b0| 4e 54 28 21 43 61 70 73 | 4c 6f 63 6b 43 75 72 72 |NT(!Caps|LockCurr|
|000007c0| 65 6e 74 6c 79 44 6f 77 | 6e 28 29 20 7c 7c 20 28 |entlyDow|n() || (|
|000007d0| 77 68 61 74 29 2c 20 61 | 72 67 73 29 0d 0d 23 64 |what), a|rgs)..#d|
|000007e0| 65 66 69 6e 65 20 42 4c | 4f 43 4b 41 53 53 45 52 |efine BL|OCKASSER|
|000007f0| 54 28 77 68 61 74 29 09 | 09 09 09 7b 20 69 66 20 |T(what).|...{ if |
|00000800| 28 21 28 77 68 61 74 29 | 29 20 64 62 67 41 73 73 |(!(what)|) dbgAss|
|00000810| 65 72 74 28 5f 5f 46 49 | 4c 45 5f 5f 2c 5f 5f 4c |ert(__FI|LE__,__L|
|00000820| 49 4e 45 5f 5f 29 3b 20 | 7d 0d 23 64 65 66 69 6e |INE__); |}.#defin|
|00000830| 65 09 41 53 53 45 52 54 | 28 77 68 61 74 29 09 09 |e.ASSERT|(what)..|
|00000840| 09 09 09 64 6f 20 42 4c | 4f 43 4b 41 53 53 45 52 |...do BL|OCKASSER|
|00000850| 54 28 77 68 61 74 29 20 | 77 68 69 6c 65 28 30 29 |T(what) |while(0)|
|00000860| 0d 23 64 65 66 69 6e 65 | 09 43 41 50 53 41 53 53 |.#define|.CAPSASS|
|00000870| 45 52 54 28 77 68 61 74 | 29 09 09 09 09 41 53 53 |ERT(what|)....ASS|
|00000880| 45 52 54 28 21 43 61 70 | 73 4c 6f 63 6b 43 75 72 |ERT(!Cap|sLockCur|
|00000890| 72 65 6e 74 6c 79 44 6f | 77 6e 28 29 20 7c 7c 20 |rentlyDo|wn() || |
|000008a0| 28 77 68 61 74 29 29 0d | 0d 23 64 65 66 69 6e 65 |(what)).|.#define|
|000008b0| 09 41 53 53 45 52 54 4e | 4f 45 52 52 28 77 68 61 |.ASSERTN|OERR(wha|
|000008c0| 74 29 09 09 09 09 41 53 | 53 45 52 54 28 28 77 68 |t)....AS|SERT((wh|
|000008d0| 61 74 29 20 3d 3d 20 6e | 6f 45 72 72 29 0d 23 64 |at) == n|oErr).#d|
|000008e0| 65 66 69 6e 65 09 43 41 | 50 53 41 53 53 45 52 54 |efine.CA|PSASSERT|
|000008f0| 4e 4f 45 52 52 28 77 68 | 61 74 29 09 09 09 41 53 |NOERR(wh|at)...AS|
|00000900| 53 45 52 54 28 21 43 61 | 70 73 4c 6f 63 6b 43 75 |SERT(!Ca|psLockCu|
|00000910| 72 72 65 6e 74 6c 79 44 | 6f 77 6e 28 29 20 7c 7c |rrentlyD|own() |||
|00000920| 20 28 28 77 68 61 74 29 | 20 3d 3d 20 6e 6f 45 72 | ((what)| == noEr|
|00000930| 72 29 29 0d 0d 0d 23 64 | 65 66 69 6e 65 20 42 4c |r))...#d|efine BL|
|00000940| 4f 43 4b 47 55 41 52 44 | 28 6f 62 6a 65 63 74 2c |OCKGUARD|(object,|
|00000950| 20 63 6c 61 73 73 4e 61 | 6d 65 29 09 7b 20 69 66 | classNa|me).{ if|
|00000960| 20 28 21 28 28 6f 62 6a | 65 63 74 29 20 26 26 20 | (!((obj|ect) && |
|00000970| 28 6f 62 6a 65 63 74 29 | 2d 3e 44 65 72 69 76 65 |(object)|->Derive|
|00000980| 64 46 72 6f 6d 28 63 6c | 61 73 73 4e 61 6d 65 29 |dFrom(cl|assName)|
|00000990| 29 29 20 64 62 67 47 75 | 61 72 64 28 5f 5f 46 49 |)) dbgGu|ard(__FI|
|000009a0| 4c 45 5f 5f 2c 5f 5f 4c | 49 4e 45 5f 5f 29 3b 20 |LE__,__L|INE__); |
|000009b0| 7d 0d 23 64 65 66 69 6e | 65 09 47 55 41 52 44 28 |}.#defin|e.GUARD(|
|000009c0| 6f 62 6a 65 63 74 2c 20 | 63 6c 61 73 73 4e 61 6d |object, |classNam|
|000009d0| 65 29 09 09 64 6f 20 42 | 4c 4f 43 4b 47 55 41 52 |e)..do B|LOCKGUAR|
|000009e0| 44 28 6f 62 6a 65 63 74 | 2c 20 63 6c 61 73 73 4e |D(object|, classN|
|000009f0| 61 6d 65 29 20 77 68 69 | 6c 65 20 28 30 29 0d 0d |ame) whi|le (0)..|
|00000a00| 23 64 65 66 69 6e 65 20 | 42 4c 4f 43 4b 52 45 51 |#define |BLOCKREQ|
|00000a10| 55 49 52 45 56 41 4c 49 | 44 50 4f 49 4e 54 45 52 |UIREVALI|DPOINTER|
|00000a20| 28 70 74 72 29 09 7b 20 | 64 62 67 49 6e 76 61 6c |(ptr).{ |dbgInval|
|00000a30| 69 64 50 6f 69 6e 74 65 | 72 28 70 74 72 2c 20 5f |idPointe|r(ptr, _|
|00000a40| 5f 46 49 4c 45 5f 5f 2c | 5f 5f 4c 49 4e 45 5f 5f |_FILE__,|__LINE__|
|00000a50| 29 3b 20 7d 0d 23 64 65 | 66 69 6e 65 09 52 45 51 |); }.#de|fine.REQ|
|00000a60| 55 49 52 45 56 41 4c 49 | 44 50 4f 49 4e 54 45 52 |UIREVALI|DPOINTER|
|00000a70| 28 70 74 72 29 09 09 64 | 6f 20 42 4c 4f 43 4b 52 |(ptr)..d|o BLOCKR|
|00000a80| 45 51 55 49 52 45 56 41 | 4c 49 44 50 4f 49 4e 54 |EQUIREVA|LIDPOINT|
|00000a90| 45 52 28 70 74 72 29 20 | 77 68 69 6c 65 20 28 30 |ER(ptr) |while (0|
|00000aa0| 29 0d 0d 23 64 65 66 69 | 6e 65 20 42 4c 4f 43 4b |)..#defi|ne BLOCK|
|00000ab0| 52 45 51 55 49 52 45 56 | 41 4c 49 44 48 41 4e 44 |REQUIREV|ALIDHAND|
|00000ac0| 4c 45 28 68 61 6e 64 6c | 65 29 09 7b 20 64 62 67 |LE(handl|e).{ dbg|
|00000ad0| 49 6e 76 61 6c 69 64 48 | 61 6e 64 6c 65 28 68 61 |InvalidH|andle(ha|
|00000ae0| 6e 64 6c 65 2c 20 5f 5f | 46 49 4c 45 5f 5f 2c 5f |ndle, __|FILE__,_|
|00000af0| 5f 4c 49 4e 45 5f 5f 29 | 3b 20 7d 0d 23 64 65 66 |_LINE__)|; }.#def|
|00000b00| 69 6e 65 09 52 45 51 55 | 49 52 45 56 41 4c 49 44 |ine.REQU|IREVALID|
|00000b10| 48 41 4e 44 4c 45 28 68 | 61 6e 64 6c 65 29 09 09 |HANDLE(h|andle)..|
|00000b20| 64 6f 20 42 4c 4f 43 4b | 52 45 51 55 49 52 45 56 |do BLOCK|REQUIREV|
|00000b30| 41 4c 49 44 48 41 4e 44 | 4c 45 28 68 61 6e 64 6c |ALIDHAND|LE(handl|
|00000b40| 65 29 20 77 68 69 6c 65 | 20 28 30 29 0d 0d 0d 2f |e) while| (0).../|
|00000b50| 2f 20 75 73 65 20 74 6f | 20 63 61 74 63 68 20 62 |/ use to| catch b|
|00000b60| 61 64 20 6d 65 74 68 6f | 64 20 63 61 6c 6c 73 0d |ad metho|d calls.|
|00000b70| 0d 23 64 65 66 69 6e 65 | 20 41 42 53 54 52 41 43 |.#define| ABSTRAC|
|00000b80| 54 42 41 53 45 28 29 20 | 41 53 53 45 52 54 28 66 |TBASE() |ASSERT(f|
|00000b90| 61 6c 73 65 29 0d 0d 23 | 65 6c 73 65 20 2f 2f 20 |alse)..#|else // |
|00000ba0| 44 45 42 55 47 0d 0d 2f | 2f 20 6e 6f 6e 2d 64 65 |DEBUG../|/ non-de|
|00000bb0| 62 75 67 20 76 65 72 73 | 69 6f 6e 73 0d 0d 23 64 |bug vers|ions..#d|
|00000bc0| 65 66 69 6e 65 20 49 4e | 4c 49 4e 45 41 53 53 45 |efine IN|LINEASSE|
|00000bd0| 52 54 28 77 68 61 74 29 | 0d 0d 23 64 65 66 69 6e |RT(what)|..#defin|
|00000be0| 65 09 49 4e 49 54 49 41 | 4c 49 5a 45 44 45 42 55 |e.INITIA|LIZEDEBU|
|00000bf0| 47 28 29 0d 23 64 65 66 | 69 6e 65 20 54 45 52 4d |G().#def|ine TERM|
|00000c00| 49 4e 41 54 45 44 45 42 | 55 47 28 29 0d 23 64 65 |INATEDEB|UG().#de|
|00000c10| 66 69 6e 65 09 44 45 42 | 55 47 45 56 45 4e 54 28 |fine.DEB|UGEVENT(|
|00000c20| 65 76 65 6e 74 29 0d 0d | 23 64 65 66 69 6e 65 20 |event)..|#define |
|00000c30| 4d 45 41 53 55 52 45 42 | 4c 4f 43 4b 28 29 0d 23 |MEASUREB|LOCK().#|
|00000c40| 64 65 66 69 6e 65 20 4d | 45 41 53 55 52 45 50 45 |define M|EASUREPE|
|00000c50| 52 46 4f 52 4d 41 4e 43 | 45 28 29 0d 23 64 65 66 |RFORMANC|E().#def|
|00000c60| 69 6e 65 20 50 45 52 46 | 4f 52 4d 41 4e 43 45 4f |ine PERF|ORMANCEO|
|00000c70| 4e 28 29 0d 23 64 65 66 | 69 6e 65 20 50 45 52 46 |N().#def|ine PERF|
|00000c80| 4f 52 4d 41 4e 43 45 4f | 46 46 28 29 0d 0d 23 64 |ORMANCEO|FF()..#d|
|00000c90| 65 66 69 6e 65 20 42 4c | 4f 43 4b 50 52 49 4e 54 |efine BL|OCKPRINT|
|00000ca0| 28 61 72 67 73 29 09 09 | 09 09 7b 7d 0d 23 64 65 |(args)..|..{}.#de|
|00000cb0| 66 69 6e 65 09 50 52 49 | 4e 54 28 61 72 67 73 29 |fine.PRI|NT(args)|
|00000cc0| 09 09 09 09 09 09 28 28 | 76 6f 69 64 29 30 29 0d |......((|void)0).|
|00000cd0| 23 64 65 66 69 6e 65 09 | 43 41 50 53 50 52 49 4e |#define.|CAPSPRIN|
|00000ce0| 54 28 61 72 67 73 29 09 | 09 09 09 09 28 28 76 6f |T(args).|....((vo|
|00000cf0| 69 64 29 30 29 0d 0d 23 | 64 65 66 69 6e 65 20 42 |id)0)..#|define B|
|00000d00| 4c 4f 43 4b 50 52 49 4e | 54 4e 4f 54 28 77 68 61 |LOCKPRIN|TNOT(wha|
|00000d10| 74 2c 20 61 72 67 73 29 | 09 09 7b 7d 0d 23 64 65 |t, args)|..{}.#de|
|00000d20| 66 69 6e 65 09 50 52 49 | 4e 54 4e 4f 54 28 77 68 |fine.PRI|NTNOT(wh|
|00000d30| 61 74 2c 61 72 67 73 29 | 09 09 09 09 28 28 76 6f |at,args)|....((vo|
|00000d40| 69 64 29 30 29 0d 23 64 | 65 66 69 6e 65 09 43 41 |id)0).#d|efine.CA|
|00000d50| 50 53 50 52 49 4e 54 4e | 4f 54 28 77 68 61 74 2c |PSPRINTN|OT(what,|
|00000d60| 61 72 67 73 29 09 09 09 | 28 28 76 6f 69 64 29 30 |args)...|((void)0|
|00000d70| 29 0d 0d 23 64 65 66 69 | 6e 65 20 42 4c 4f 43 4b |)..#defi|ne BLOCK|
|00000d80| 41 53 53 45 52 54 50 52 | 49 4e 54 28 77 68 61 74 |ASSERTPR|INT(what|
|00000d90| 2c 20 61 72 67 73 29 09 | 7b 7d 0d 23 64 65 66 69 |, args).|{}.#defi|
|00000da0| 6e 65 09 41 53 53 45 52 | 54 50 52 49 4e 54 28 77 |ne.ASSER|TPRINT(w|
|00000db0| 68 61 74 2c 61 72 67 73 | 29 09 09 09 28 28 76 6f |hat,args|)...((vo|
|00000dc0| 69 64 29 30 29 0d 23 64 | 65 66 69 6e 65 09 43 41 |id)0).#d|efine.CA|
|00000dd0| 50 53 41 53 53 45 52 54 | 50 52 49 4e 54 28 77 68 |PSASSERT|PRINT(wh|
|00000de0| 61 74 2c 61 72 67 73 29 | 09 09 28 28 76 6f 69 64 |at,args)|..((void|
|00000df0| 29 30 29 0d 0d 23 64 65 | 66 69 6e 65 20 42 4c 4f |)0)..#de|fine BLO|
|00000e00| 43 4b 41 53 53 45 52 54 | 28 77 68 61 74 29 09 09 |CKASSERT|(what)..|
|00000e10| 09 09 7b 7d 0d 23 64 65 | 66 69 6e 65 09 41 53 53 |..{}.#de|fine.ASS|
|00000e20| 45 52 54 28 77 68 61 74 | 29 09 09 09 09 09 28 28 |ERT(what|).....((|
|00000e30| 76 6f 69 64 29 30 29 0d | 23 64 65 66 69 6e 65 09 |void)0).|#define.|
|00000e40| 43 41 50 53 41 53 53 45 | 52 54 28 77 68 61 74 29 |CAPSASSE|RT(what)|
|00000e50| 09 09 09 09 28 28 76 6f | 69 64 29 30 29 0d 0d 23 |....((vo|id)0)..#|
|00000e60| 64 65 66 69 6e 65 09 41 | 53 53 45 52 54 4e 4f 45 |define.A|SSERTNOE|
|00000e70| 52 52 28 77 68 61 74 29 | 09 09 09 09 28 28 76 6f |RR(what)|....((vo|
|00000e80| 69 64 29 30 29 0d 23 64 | 65 66 69 6e 65 09 43 41 |id)0).#d|efine.CA|
|00000e90| 50 53 41 53 53 45 52 54 | 4e 4f 45 52 52 28 77 68 |PSASSERT|NOERR(wh|
|00000ea0| 61 74 29 09 09 09 28 28 | 76 6f 69 64 29 30 29 0d |at)...((|void)0).|
|00000eb0| 0d 23 64 65 66 69 6e 65 | 20 42 4c 4f 43 4b 47 55 |.#define| BLOCKGU|
|00000ec0| 41 52 44 28 6f 62 6a 65 | 63 74 2c 20 63 6c 61 73 |ARD(obje|ct, clas|
|00000ed0| 73 4e 61 6d 65 29 09 7b | 7d 0d 23 64 65 66 69 6e |sName).{|}.#defin|
|00000ee0| 65 09 47 55 41 52 44 28 | 6f 62 6a 65 63 74 2c 20 |e.GUARD(|object, |
|00000ef0| 63 6c 61 73 73 4e 61 6d | 65 29 09 09 28 28 76 6f |classNam|e)..((vo|
|00000f00| 69 64 29 30 29 0d 0d 23 | 64 65 66 69 6e 65 20 42 |id)0)..#|define B|
|00000f10| 4c 4f 43 4b 52 45 51 55 | 49 52 45 56 41 4c 49 44 |LOCKREQU|IREVALID|
|00000f20| 50 4f 49 4e 54 45 52 28 | 70 74 72 29 09 7b 7d 0d |POINTER(|ptr).{}.|
|00000f30| 23 64 65 66 69 6e 65 09 | 52 45 51 55 49 52 45 56 |#define.|REQUIREV|
|00000f40| 41 4c 49 44 50 4f 49 4e | 54 45 52 28 70 74 72 29 |ALIDPOIN|TER(ptr)|
|00000f50| 09 09 28 28 76 6f 69 64 | 29 30 29 0d 0d 23 64 65 |..((void|)0)..#de|
|00000f60| 66 69 6e 65 20 42 4c 4f | 43 4b 52 45 51 55 49 52 |fine BLO|CKREQUIR|
|00000f70| 45 56 41 4c 49 44 48 41 | 4e 44 4c 45 28 68 61 6e |EVALIDHA|NDLE(han|
|00000f80| 64 6c 65 29 09 7b 7d 0d | 23 64 65 66 69 6e 65 09 |dle).{}.|#define.|
|00000f90| 52 45 51 55 49 52 45 56 | 41 4c 49 44 48 41 4e 44 |REQUIREV|ALIDHAND|
|00000fa0| 4c 45 28 68 61 6e 64 6c | 65 29 09 09 28 28 76 6f |LE(handl|e)..((vo|
|00000fb0| 69 64 29 30 29 0d 0d 23 | 64 65 66 69 6e 65 20 41 |id)0)..#|define A|
|00000fc0| 42 53 54 52 41 43 54 42 | 41 53 45 28 29 09 09 09 |BSTRACTB|ASE()...|
|00000fd0| 09 09 28 28 76 6f 69 64 | 29 30 29 0d 0d 23 65 6e |..((void|)0)..#en|
|00000fe0| 64 69 66 20 2f 2f 20 44 | 45 42 55 47 0d 0d 23 65 |dif // D|EBUG..#e|
|00000ff0| 6e 64 69 66 20 2f 2f 20 | 64 65 62 75 67 5f 68 0d |ndif // |debug_h.|
|00001000| 0d 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001080| 00 00 01 00 00 00 02 02 | 00 00 01 02 00 00 00 66 |........|.......f|
|00001090| 00 54 ff 00 ff 00 2a 00 | 2a 00 2a 00 2a 00 2a 00 |.T....*.|*.*.*.*.|
|000010a0| 2a 00 2a 00 2a 00 2a 00 | 2a 00 2a 00 2a 00 2a 00 |*.*.*.*.|*.*.*.*.|
|000010b0| 07 44 65 62 75 67 2e 68 | 02 00 00 00 54 45 58 54 |.Debug.h|....TEXT|
|000010c0| 43 57 49 45 01 00 00 00 | 06 5d 00 00 00 00 02 bf |CWIE....|.]......|
|000010d0| 00 00 54 45 58 54 43 57 | 49 45 01 00 00 00 06 5d |..TEXTCW|IE.....]|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 ab 4b f9 8a 00 00 | 0f 81 00 00 02 68 00 2a |...K....|.....h.*|
|00001100| 00 2a 00 2a 00 2a 00 2a | 00 2a 00 2a 00 2a 00 2a |.*.*.*.*|.*.*.*.*|
|00001110| 00 54 ff 00 ff 00 2a 00 | 2a 00 2a 00 2a 00 2a 00 |.T....*.|*.*.*.*.|
|00001120| 2a 00 2a 00 2a 00 2a 00 | 2a 00 2a 00 2a 00 2a 00 |*.*.*.*.|*.*.*.*.|
|00001130| 2a 54 ff 00 ff 2a 00 2a | 00 2a 00 2a 00 2a 00 2a |*T...*.*|.*.*.*.*|
|00001140| 00 2a 00 2a 00 2a 00 2a | 00 2a 00 2a 00 2a 00 2a |.*.*.*.*|.*.*.*.*|
|00001150| 00 54 ff 00 ff 00 2a 00 | 2a 00 2a 00 2a 00 2a 00 |.T....*.|*.*.*.*.|
|00001160| 2a 00 2a 00 2a 00 2a 00 | 2a 00 2a 00 2a 00 2a 00 |*.*.*.*.|*.*.*.*.|
|00001170| 2a 54 ff 00 ff 2a 00 2a | 00 2a 00 2a 00 2a 00 2a |*T...*.*|.*.*.*.*|
|00001180| 00 00 00 1e 00 8f 00 96 | 03 4e 02 f5 00 8f 00 96 |........|.N......|
|00001190| 03 4e 02 f5 00 00 00 00 | 00 00 00 00 00 00 00 00 |.N......|........|
|000011a0| 00 00 00 00 00 88 4b c1 | a6 dd 3f e5 32 30 00 04 |......K.|..?.20..|
|000011b0| 00 00 00 01 00 00 00 00 | ab 72 d2 b4 ab 72 d2 b4 |........|.r...r..|
|000011c0| ab 72 ce 52 00 42 93 61 | 00 01 00 02 00 01 13 42 |.r.R.B.a|.......B|
|000011d0| 61 6e 7a 61 69 ba 53 6f | 75 72 63 65 ba 42 61 73 |anzai.So|urce.Bas|
|000011e0| 65 ba 00 0d 47 72 65 67 | 20 41 6e 64 65 72 73 6f |e...Greg| Anderso|
|000011f0| 6e 00 01 31 00 07 44 65 | 62 75 67 2e 68 00 00 00 |n..1..De|bug.h...|
|00001200| 00 2b 53 61 6e 69 74 69 | 7a 65 64 20 61 6e 64 20 |.+Saniti|zed and |
|00001210| 63 68 65 63 6b 65 64 20 | 69 6e 74 6f 20 6e 65 77 |checked |into new|
|00001220| 20 42 61 73 65 20 70 72 | 6f 6a 65 63 74 00 00 00 | Base pr|oject...|
|00001230| 00 48 00 09 4d 6f 6e 61 | 63 6f 00 00 00 00 00 00 |.H..Mona|co......|
|00001240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001250| 00 00 00 00 00 03 00 04 | 00 63 00 13 01 d6 02 72 |........|.c.....r|
|00001260| 00 63 00 13 01 d6 02 72 | ad 3e 69 e7 00 00 02 b4 |.c.....r|.>i.....|
|00001270| 00 00 02 b4 00 00 01 25 | 01 00 00 00 00 04 00 01 |.......%|........|
|00001280| 00 01 00 00 01 00 00 00 | 02 02 00 00 01 02 00 00 |........|........|
|00001290| 00 66 02 9b 37 60 1e 1e | 00 00 00 1c 00 66 00 02 |.f..7`..|.....f..|
|000012a0| 4d 50 53 52 00 01 00 1a | 63 6b 69 64 00 00 00 32 |MPSR....|ckid...2|
|000012b0| 4d 57 42 42 00 00 00 3e | 03 f0 ff ff 00 00 00 00 |MWBB...>|........|
|000012c0| 00 00 00 00 03 ed ff ff | 00 00 00 ae 00 00 00 00 |........|........|
|000012d0| 00 80 ff ff 00 00 00 22 | 00 00 00 00 03 f0 ff ff |......."|........|
|000012e0| 00 00 00 fa 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+